//  @ts-nocheck

// 处理题型
export const changeQuestionType = type => {
  if (type == 1) {
    return '单选题'
  } else if (type == 2) {
    return '多选题'
  } else {
    return '简答题'
  }
}

//处理难度
export const changeDifficulty = type => {
  if (type == 1) {
    return '简单'
  } else if (type == 2) {
    return '一般'
  } else {
    return '困难'
  }
}
// =======================================================
// 精选题库
// 处理审核状态
export const goodType = chkState => {
  if (chkState == 0) {
    return '待审核'
  } else if (chkState == 1) {
    return '已审核'
  } else {
    return '拒绝'
  }
}

// 处理发布状态
export const goodPublishState = publishState => {
  if (publishState == 1) {
    return '上架'
  } else {
    return '下架'
  }
}
